package com.example.administrator.base.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/7/5 0005.
 */

public class StationInfo {

    /**
     * status : 0
     * message : 成功
     * size : 115
     * total : 115
     * entities : [{"entity_name":"00d0ff31ed4e4e96a929570d4bdc62dd","create_time":"2017-06-05 10:28:50","modify_time":"2017-06-05 10:28:51","latest_location":{"loc_time":1496629730,"longitude":121.381673,"latitude":31.197041,"address":"在长宁区程家桥街道社区事务受理服务中心附近","lineFlag":"1","distance":194.724052},"childrenAreaId":"上海市","childrenAreaType":"1","creator":"郭继东","entity_desc":"停车定位点","peakParkingNum":"0|20","pointName":"虹桥路2282号"},{"entity_name":"01cb78a00ef64c9984f434d29458dcef","create_time":"2017-06-02 08:51:28","modify_time":"2017-06-02 08:51:28","latest_location":{"loc_time":1496364688,"longitude":121.37437644276,"latitude":31.194319177507,"address":"在嘉利豪园附近","lineFlag":"1","distance":570.522695},"childrenAreaId":"上海市","childrenAreaType":"1","creator":"傅宕","entity_desc":"停车定位点","peakParkingNum":"0|9","pointName":"全家便利店"},{"entity_name":"024f87aa6d194ac2b8bf25f5c1ea0ccd","create_time":"2017-06-07 11:35:09","modify_time":"2017-06-07 11:35:09","latest_location":{"loc_time":1496806509,"longitude":121.38705560005,"latitude":31.192254573911,"address":"在华虹一公寓附近","lineFlag":"1","distance":864.272134},"childrenAreaId":"上海市","childrenAreaType":"1","creator":"杜文强","entity_desc":"停车定位点","peakParkingNum":"10|0","pointName":"华虹一公寓西北门（虹中路480弄4号）"},{"entity_name":"0553e84040104cf4adb6aa3f7ef4df9a","create_time":"2017-06-05 11:53:52","modify_time":"2017-06-05 11:53:52","latest_location":{"loc_time":1496634832,"longitude":121.37641142534,"latitude":31.197131747142,"address":"在程桥一村附近","lineFlag":"1","distance":310.958202},"childrenAreaId":"上海市","childrenAreaType":"1","creator":"郭继东","entity_desc":"停车定位点","peakParkingNum":"0|0","pointName":"哈密幼儿园2016"},{"entity_name":"07db2c2ab89f446ea7acdab913ab604f","create_time":"2017-06-02 19:42:14","modify_time":"2017-06-02 19:42:14","latest_location":{"loc_time":1496403734,"longitude":121.38465167209,"latitude":31.198752462754,"address":"在沪杏科技图书馆附近","lineFlag":"1","distance":524.543286},"childrenAreaId":"上海市","childrenAreaType":"1","creator":"苏多根","entity_desc":"停车定位点","peakParkingNum":"0|0","pointName":"上海瑞祥门诊部"},{"entity_name":"080ed2b7608c484e9d5f70cdd6425027","create_time":"2017-06-01 19:36:23","modify_time":"2017-06-01 19:36:23","latest_location":{"loc_time":1496316983,"longitude":121.37428344694,"latitude":31.194025976894,"distance":594.321602},"childrenAreaId":"上海市","childrenAreaType":"1","creator":"苏多根","entity_desc":"上海市-0","peakParkingNum":"0|2","pointName":"虹井路878号工商银行对面"}]
     */

    private int status;
    private String message;
    private int size;
    private int total;
    private List<EntitiesBean> entities;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<EntitiesBean> getEntities() {
        return entities;
    }

    public void setEntities(List<EntitiesBean> entities) {
        this.entities = entities;
    }

    public static class EntitiesBean implements Serializable {
        /**
         * entity_name : 00d0ff31ed4e4e96a929570d4bdc62dd
         * create_time : 2017-06-05 10:28:50
         * modify_time : 2017-06-05 10:28:51
         * latest_location : {"loc_time":1496629730,"longitude":121.381673,"latitude":31.197041,"address":"在长宁区程家桥街道社区事务受理服务中心附近","lineFlag":"1","distance":194.724052}
         * childrenAreaId : 上海市
         * childrenAreaType : 1
         * creator : 郭继东
         * entity_desc : 停车定位点
         * peakParkingNum : 0|20
         * pointName : 虹桥路2282号
         */

        private String entity_name;
        private String create_time;
        private String modify_time;
        private LatestLocationBean latest_location;
        private String childrenAreaId;
        private String childrenAreaType;
        private String creator;
        private String entity_desc;
        private String peakParkingNum;
        private String pointName;

        public String getEntity_name() {
            return entity_name;
        }

        public void setEntity_name(String entity_name) {
            this.entity_name = entity_name;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public LatestLocationBean getLatest_location() {
            return latest_location;
        }

        public void setLatest_location(LatestLocationBean latest_location) {
            this.latest_location = latest_location;
        }

        public String getChildrenAreaId() {
            return childrenAreaId;
        }

        public void setChildrenAreaId(String childrenAreaId) {
            this.childrenAreaId = childrenAreaId;
        }

        public String getChildrenAreaType() {
            return childrenAreaType;
        }

        public void setChildrenAreaType(String childrenAreaType) {
            this.childrenAreaType = childrenAreaType;
        }

        public String getCreator() {
            return creator;
        }

        public void setCreator(String creator) {
            this.creator = creator;
        }

        public String getEntity_desc() {
            return entity_desc;
        }

        public void setEntity_desc(String entity_desc) {
            this.entity_desc = entity_desc;
        }

        public String getPeakParkingNum() {
            return peakParkingNum;
        }

        public void setPeakParkingNum(String peakParkingNum) {
            this.peakParkingNum = peakParkingNum;
        }

        public String getPointName() {
            return pointName;
        }

        public void setPointName(String pointName) {
            this.pointName = pointName;
        }

        public static class LatestLocationBean {
            /**
             * loc_time : 1496629730
             * longitude : 121.381673
             * latitude : 31.197041
             * address : 在长宁区程家桥街道社区事务受理服务中心附近
             * lineFlag : 1
             * distance : 194.724052
             */

            private int loc_time;
            private double longitude;
            private double latitude;
            private String address;
            private String lineFlag;
            private double distance;

            public int getLoc_time() {
                return loc_time;
            }

            public void setLoc_time(int loc_time) {
                this.loc_time = loc_time;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getLineFlag() {
                return lineFlag;
            }

            public void setLineFlag(String lineFlag) {
                this.lineFlag = lineFlag;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }
        }
    }
}
